package com.shouren.args.type;

public class DoubleArgs extends BaseArgs<Double>{


    public DoubleArgs(String value, Double defaultValue){
        super(value,defaultValue);
    }

    @Override
    public Double parse() {
        if(this.valueStr == null || valueStr.trim().equals("")) return null;
        return Double.valueOf(this.valueStr);
    }
}
